Blog

Eric Peterson

December 18, 2017

Spread the word


Share your thoughts

ForgeBox with Santa hat Today let's look at a quick, fun module today. It will make your exception experience in development just a little bit nicer. It's called [`whoops`](https://www.forgebox.io/view/whoops).

whoops

Based off of the PHP package of the same name, whoops is a development exception experience. It shows an interactive stack trace, the code in question with the line highlighted, and some application and request information to help you track down problems in your application.

This is a module that is better told in pictures:

whoops screenshot 1 whoops screenshot 2 whoops screenshot 3

Get Started

It couldn't be easier to get started:

CommandBox> install whoops --saveDev

Happy debugging!

Add Your Comment

(2)

Dec 19, 2017 07:00:42 UTC

by Daniel Fredericks

Hey, could you provide a bit more info on this...is it a CB only, or can it run with FW/1, or non-framework code? I guess you cd into your project then install woops? then when you run your code, it will fire off woops in the browser when/if it finds an error, and then brings up the code? Just wondering how to use it beyond just the pics...want to see if it is something for us at work or not... thanks

Dec 19, 2017 18:32:24 UTC

by Eric Peterson

Hi, Dan. This is currently ColdBox only, as it uses the onError interception point. It likely could be extended easily to use the Application.cfc onError lifecycle method.

Recent Entries

Ortus June 2024 Newsletter!

Ortus June 2024 Newsletter!

Welcome to the latest edition of the Ortus Newsletter! This month, we're excited to bring you highlights from our sessions at CFCamp and Open South Code, as well as a sneak peek into our upcoming events. Discover the latest developments in BoxLang, our dynamic new JVM language, and catch up on all the insightful presentations by our expert team. Let's dive in!

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang June 2024 Newsletter!

BoxLang June 2024 Newsletter!

We're thrilled to bring you the latest updates and exciting developments from the world of BoxLang. This month, we're diving into the newest beta release, introducing a new podcast series, showcasing innovative integrations, and sharing insights from recent events. Whether you're a seasoned developer or just getting started, there's something here for everyone to explore and enjoy.

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang 1.0.0 Beta 3 Launched

BoxLang 1.0.0 Beta 3 Launched

We are thrilled to announce the release of BoxLang 1.0.0-Beta 3! This latest beta version is packed with exciting new features and essential bug fixes, including robust encryption functionality, enhanced Java interoperability, and more efficient event handling. Key highlights include the introduction of query caching capabilities, seamless coercion of Java Single Abstract Method (SAM) interfaces from BoxLang functions, and support for virtual thread executors. So, let’s dive into the details of what’s new in BoxLang 1.0.0-Beta 3 and how you can start leveraging these updates today!

Luis Majano
Luis Majano
June 28, 2024